\hypertarget{flash__helper_8c}{}\section{flash\+\_\+helper.\+c File Reference}
\label{flash__helper_8c}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
{\ttfamily \#include \char`\"{}flash\+\_\+helper.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}ch.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}hal.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}stm32f4xx\+\_\+conf.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}utils.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}mcpwm.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}hw.\+h\char`\"{}}\\*
{\ttfamily \#include $<$string.\+h$>$}\\*
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{flash__helper_8c_a3e3bca0bf87643f04607022ece7b4b14}{F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+S}~12
\item 
\#define \hyperlink{flash__helper_8c_ad0198c5f6b8570629c6ce18fbcaa07b9}{B\+O\+O\+T\+L\+O\+A\+D\+E\+R\+\_\+\+B\+A\+S\+E}~11
\item 
\#define \hyperlink{flash__helper_8c_a6cf6a5f0042b93414d8c3039cd5540e3}{A\+P\+P\+\_\+\+B\+A\+S\+E}~0
\item 
\#define \hyperlink{flash__helper_8c_aa1342082fc298d17435fd4d4ad1b1dcd}{N\+E\+W\+\_\+\+A\+P\+P\+\_\+\+B\+A\+S\+E}~8
\item 
\#define \hyperlink{flash__helper_8c_aa785ce84c6aff09267c84dbdaf03264d}{N\+E\+W\+\_\+\+A\+P\+P\+\_\+\+S\+E\+C\+T\+O\+R\+S}~3
\item 
\#define \hyperlink{flash__helper_8c_a1a626254790c0810ff2dda356393e10c}{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+0}~((uint32\+\_\+t)0x08000000)
\item 
\#define \hyperlink{flash__helper_8c_a3921df9831b40afc489e0abb4ae2e1d8}{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+1}~((uint32\+\_\+t)0x08004000)
\item 
\#define \hyperlink{flash__helper_8c_a252ab8bba2a5556d7aa70c4629749b25}{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+2}~((uint32\+\_\+t)0x08008000)
\item 
\#define \hyperlink{flash__helper_8c_a299b477f5a33428b1867eecc8663028a}{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+3}~((uint32\+\_\+t)0x0800\+C000)
\item 
\#define \hyperlink{flash__helper_8c_a0137a47c6b41f7aef7e18d9bc280a918}{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+4}~((uint32\+\_\+t)0x08010000)
\item 
\#define \hyperlink{flash__helper_8c_a6e78dc4f01c1faf00384490d3536f4de}{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+5}~((uint32\+\_\+t)0x08020000)
\item 
\#define \hyperlink{flash__helper_8c_a353c96f72d9893b5c24e9775a6e9f999}{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+6}~((uint32\+\_\+t)0x08040000)
\item 
\#define \hyperlink{flash__helper_8c_a0fcae367e68209cb20aec1f31d0cef75}{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+7}~((uint32\+\_\+t)0x08060000)
\item 
\#define \hyperlink{flash__helper_8c_a46efd249195dc6615a5f991bf67fbfd5}{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+8}~((uint32\+\_\+t)0x08080000)
\item 
\#define \hyperlink{flash__helper_8c_a94b661cf00ffc288e3d2983c3d6c72ed}{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+9}~((uint32\+\_\+t)0x080\+A0000)
\item 
\#define \hyperlink{flash__helper_8c_a3cea1f00ae802317e67815c9dedc62b7}{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+10}~((uint32\+\_\+t)0x080\+C0000)
\item 
\#define \hyperlink{flash__helper_8c_a7b945836a10e9782cbb63338f271f2aa}{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+11}~((uint32\+\_\+t)0x080\+E0000)
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
uint16\+\_\+t \hyperlink{flash__helper_8c_a4fe6e8165c1fa89d02c591180783d11f}{flash\+\_\+helper\+\_\+erase\+\_\+new\+\_\+app} (uint32\+\_\+t new\+\_\+app\+\_\+size)
\item 
uint16\+\_\+t \hyperlink{flash__helper_8c_a99c7831232016110d54d56d40224fb2d}{flash\+\_\+helper\+\_\+write\+\_\+new\+\_\+app\+\_\+data} (uint32\+\_\+t offset, uint8\+\_\+t $\ast$data, uint32\+\_\+t len)
\item 
void \hyperlink{flash__helper_8c_a88237caea6b04b65b8c68802392cc88b}{flash\+\_\+helper\+\_\+jump\+\_\+to\+\_\+bootloader} (void)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\hypertarget{flash__helper_8c_a1a626254790c0810ff2dda356393e10c}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+0@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+0}}
\index{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+0@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+0}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+0}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+0~((uint32\+\_\+t)0x08000000)}\label{flash__helper_8c_a1a626254790c0810ff2dda356393e10c}
\hypertarget{flash__helper_8c_a3921df9831b40afc489e0abb4ae2e1d8}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+1@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+1}}
\index{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+1@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+1}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+1}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+1~((uint32\+\_\+t)0x08004000)}\label{flash__helper_8c_a3921df9831b40afc489e0abb4ae2e1d8}
\hypertarget{flash__helper_8c_a3cea1f00ae802317e67815c9dedc62b7}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+10@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+10}}
\index{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+10@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+10}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+10}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+10~((uint32\+\_\+t)0x080\+C0000)}\label{flash__helper_8c_a3cea1f00ae802317e67815c9dedc62b7}
\hypertarget{flash__helper_8c_a7b945836a10e9782cbb63338f271f2aa}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+11@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+11}}
\index{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+11@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+11}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+11}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+11~((uint32\+\_\+t)0x080\+E0000)}\label{flash__helper_8c_a7b945836a10e9782cbb63338f271f2aa}
\hypertarget{flash__helper_8c_a252ab8bba2a5556d7aa70c4629749b25}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+2@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+2}}
\index{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+2@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+2}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+2}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+2~((uint32\+\_\+t)0x08008000)}\label{flash__helper_8c_a252ab8bba2a5556d7aa70c4629749b25}
\hypertarget{flash__helper_8c_a299b477f5a33428b1867eecc8663028a}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+3@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+3}}
\index{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+3@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+3}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+3}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+3~((uint32\+\_\+t)0x0800\+C000)}\label{flash__helper_8c_a299b477f5a33428b1867eecc8663028a}
\hypertarget{flash__helper_8c_a0137a47c6b41f7aef7e18d9bc280a918}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+4@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+4}}
\index{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+4@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+4}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+4}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+4~((uint32\+\_\+t)0x08010000)}\label{flash__helper_8c_a0137a47c6b41f7aef7e18d9bc280a918}
\hypertarget{flash__helper_8c_a6e78dc4f01c1faf00384490d3536f4de}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+5@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+5}}
\index{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+5@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+5}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+5}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+5~((uint32\+\_\+t)0x08020000)}\label{flash__helper_8c_a6e78dc4f01c1faf00384490d3536f4de}
\hypertarget{flash__helper_8c_a353c96f72d9893b5c24e9775a6e9f999}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+6@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+6}}
\index{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+6@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+6}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+6}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+6~((uint32\+\_\+t)0x08040000)}\label{flash__helper_8c_a353c96f72d9893b5c24e9775a6e9f999}
\hypertarget{flash__helper_8c_a0fcae367e68209cb20aec1f31d0cef75}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+7@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+7}}
\index{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+7@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+7}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+7}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+7~((uint32\+\_\+t)0x08060000)}\label{flash__helper_8c_a0fcae367e68209cb20aec1f31d0cef75}
\hypertarget{flash__helper_8c_a46efd249195dc6615a5f991bf67fbfd5}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+8@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+8}}
\index{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+8@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+8}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+8}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+8~((uint32\+\_\+t)0x08080000)}\label{flash__helper_8c_a46efd249195dc6615a5f991bf67fbfd5}
\hypertarget{flash__helper_8c_a94b661cf00ffc288e3d2983c3d6c72ed}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+9@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+9}}
\index{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+9@{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+9}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+9}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+D\+D\+R\+\_\+\+F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+\_\+9~((uint32\+\_\+t)0x080\+A0000)}\label{flash__helper_8c_a94b661cf00ffc288e3d2983c3d6c72ed}
\hypertarget{flash__helper_8c_a6cf6a5f0042b93414d8c3039cd5540e3}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!A\+P\+P\+\_\+\+B\+A\+S\+E@{A\+P\+P\+\_\+\+B\+A\+S\+E}}
\index{A\+P\+P\+\_\+\+B\+A\+S\+E@{A\+P\+P\+\_\+\+B\+A\+S\+E}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{A\+P\+P\+\_\+\+B\+A\+S\+E}]{\setlength{\rightskip}{0pt plus 5cm}\#define A\+P\+P\+\_\+\+B\+A\+S\+E~0}\label{flash__helper_8c_a6cf6a5f0042b93414d8c3039cd5540e3}
\hypertarget{flash__helper_8c_ad0198c5f6b8570629c6ce18fbcaa07b9}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!B\+O\+O\+T\+L\+O\+A\+D\+E\+R\+\_\+\+B\+A\+S\+E@{B\+O\+O\+T\+L\+O\+A\+D\+E\+R\+\_\+\+B\+A\+S\+E}}
\index{B\+O\+O\+T\+L\+O\+A\+D\+E\+R\+\_\+\+B\+A\+S\+E@{B\+O\+O\+T\+L\+O\+A\+D\+E\+R\+\_\+\+B\+A\+S\+E}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{B\+O\+O\+T\+L\+O\+A\+D\+E\+R\+\_\+\+B\+A\+S\+E}]{\setlength{\rightskip}{0pt plus 5cm}\#define B\+O\+O\+T\+L\+O\+A\+D\+E\+R\+\_\+\+B\+A\+S\+E~11}\label{flash__helper_8c_ad0198c5f6b8570629c6ce18fbcaa07b9}
\hypertarget{flash__helper_8c_a3e3bca0bf87643f04607022ece7b4b14}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+S@{F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+S}}
\index{F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+S@{F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+S}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+S}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\+L\+A\+S\+H\+\_\+\+S\+E\+C\+T\+O\+R\+S~12}\label{flash__helper_8c_a3e3bca0bf87643f04607022ece7b4b14}
\hypertarget{flash__helper_8c_aa1342082fc298d17435fd4d4ad1b1dcd}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!N\+E\+W\+\_\+\+A\+P\+P\+\_\+\+B\+A\+S\+E@{N\+E\+W\+\_\+\+A\+P\+P\+\_\+\+B\+A\+S\+E}}
\index{N\+E\+W\+\_\+\+A\+P\+P\+\_\+\+B\+A\+S\+E@{N\+E\+W\+\_\+\+A\+P\+P\+\_\+\+B\+A\+S\+E}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{N\+E\+W\+\_\+\+A\+P\+P\+\_\+\+B\+A\+S\+E}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\+E\+W\+\_\+\+A\+P\+P\+\_\+\+B\+A\+S\+E~8}\label{flash__helper_8c_aa1342082fc298d17435fd4d4ad1b1dcd}
\hypertarget{flash__helper_8c_aa785ce84c6aff09267c84dbdaf03264d}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!N\+E\+W\+\_\+\+A\+P\+P\+\_\+\+S\+E\+C\+T\+O\+R\+S@{N\+E\+W\+\_\+\+A\+P\+P\+\_\+\+S\+E\+C\+T\+O\+R\+S}}
\index{N\+E\+W\+\_\+\+A\+P\+P\+\_\+\+S\+E\+C\+T\+O\+R\+S@{N\+E\+W\+\_\+\+A\+P\+P\+\_\+\+S\+E\+C\+T\+O\+R\+S}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{N\+E\+W\+\_\+\+A\+P\+P\+\_\+\+S\+E\+C\+T\+O\+R\+S}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\+E\+W\+\_\+\+A\+P\+P\+\_\+\+S\+E\+C\+T\+O\+R\+S~3}\label{flash__helper_8c_aa785ce84c6aff09267c84dbdaf03264d}


\subsection{Function Documentation}
\hypertarget{flash__helper_8c_a4fe6e8165c1fa89d02c591180783d11f}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!flash\+\_\+helper\+\_\+erase\+\_\+new\+\_\+app@{flash\+\_\+helper\+\_\+erase\+\_\+new\+\_\+app}}
\index{flash\+\_\+helper\+\_\+erase\+\_\+new\+\_\+app@{flash\+\_\+helper\+\_\+erase\+\_\+new\+\_\+app}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{flash\+\_\+helper\+\_\+erase\+\_\+new\+\_\+app(uint32\+\_\+t new\+\_\+app\+\_\+size)}]{\setlength{\rightskip}{0pt plus 5cm}uint16\+\_\+t flash\+\_\+helper\+\_\+erase\+\_\+new\+\_\+app (
\begin{DoxyParamCaption}
\item[{uint32\+\_\+t}]{new\+\_\+app\+\_\+size}
\end{DoxyParamCaption}
)}\label{flash__helper_8c_a4fe6e8165c1fa89d02c591180783d11f}
\hypertarget{flash__helper_8c_a88237caea6b04b65b8c68802392cc88b}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!flash\+\_\+helper\+\_\+jump\+\_\+to\+\_\+bootloader@{flash\+\_\+helper\+\_\+jump\+\_\+to\+\_\+bootloader}}
\index{flash\+\_\+helper\+\_\+jump\+\_\+to\+\_\+bootloader@{flash\+\_\+helper\+\_\+jump\+\_\+to\+\_\+bootloader}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{flash\+\_\+helper\+\_\+jump\+\_\+to\+\_\+bootloader(void)}]{\setlength{\rightskip}{0pt plus 5cm}void flash\+\_\+helper\+\_\+jump\+\_\+to\+\_\+bootloader (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{flash__helper_8c_a88237caea6b04b65b8c68802392cc88b}
Stop the system and jump to the bootloader. \hypertarget{flash__helper_8c_a99c7831232016110d54d56d40224fb2d}{}\index{flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}!flash\+\_\+helper\+\_\+write\+\_\+new\+\_\+app\+\_\+data@{flash\+\_\+helper\+\_\+write\+\_\+new\+\_\+app\+\_\+data}}
\index{flash\+\_\+helper\+\_\+write\+\_\+new\+\_\+app\+\_\+data@{flash\+\_\+helper\+\_\+write\+\_\+new\+\_\+app\+\_\+data}!flash\+\_\+helper.\+c@{flash\+\_\+helper.\+c}}
\subsubsection[{flash\+\_\+helper\+\_\+write\+\_\+new\+\_\+app\+\_\+data(uint32\+\_\+t offset, uint8\+\_\+t $\ast$data, uint32\+\_\+t len)}]{\setlength{\rightskip}{0pt plus 5cm}uint16\+\_\+t flash\+\_\+helper\+\_\+write\+\_\+new\+\_\+app\+\_\+data (
\begin{DoxyParamCaption}
\item[{uint32\+\_\+t}]{offset, }
\item[{uint8\+\_\+t $\ast$}]{data, }
\item[{uint32\+\_\+t}]{len}
\end{DoxyParamCaption}
)}\label{flash__helper_8c_a99c7831232016110d54d56d40224fb2d}
